//
//  ThirdPartAlipay.h
//  Screen
//
//  Created by Season02 on 6/23/16.
//  Copyright © 2016 Season02. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AlipaySDK/AlipaySDK.h>
#import "AliOrder.h"
#import "ThirdDefine.h"
//#import "MGCPayViewController.h"

typedef void (^PayStatusBlock)(BOOL status, NSString* date);

@interface ThirdPartAlipay : NSObject

+(void)alipay:(NSString*)singedOrder;
+(BOOL)handAliUrl:(NSURL *)url;

//+(void)setupPayView:(MGCPayViewController*)view;
+(void)setBuyHistoryId:(NSString*)buyhistory;

//+(void)setupView:(UIViewController*)view;

+(void)checkStatus:(NSString*)buyhistoryid callback:(PayStatusBlock)callback;

@end
